IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'reporte')
CREATE LOGIN [reporte] WITH PASSWORD = 'p@ssw0rd'
GO
CREATE USER [reporte] FOR LOGIN [reporte]
GO
